﻿namespace Hiver.Util.Config.Model
{
    /// <summary>
    /// Redis单点配置模型
    /// </summary>
    public class Redis
    {
        /// <summary>
        /// 主机地址
        /// </summary>
        public string Host { get; set; }

        /// <summary>
        /// 主机端口
        /// </summary>
        public string Port { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 连接池大小
        /// </summary>
        public int PoolSize { get; set; }

        /// <summary>
        /// 前缀
        /// </summary>
        public string Prefix { get; set; }
    }
}